package com.castday2.castday2.bean.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@Getter
@AllArgsConstructor
@JsonFormat( shape = JsonFormat.Shape.OBJECT)
public enum CodeEnum {
    OK(200,true,"成功"),
    ERROR(500,false,"失败");

    private Integer code;
    private Boolean status;
    private String message;

}
